Skip to content

feat: add Morse as an OpenAI-compatible provider - #447

Open
askmorse wants to merge 1 commit into
ifixai-ai:mainfrom
askmorse:feat/morse-provider
Open

askmorse wants to merge 1 commit into
ifixai-ai:mainfrom
askmorse:feat/morse-provider

Conversation

@askmorse

@askmorse askmorse commented Dec 1, 2026

Copy link
Copy Markdown

Adds Morse as a named OpenAI-compatible provider, next to OpenRouter, OrcaRouter, Requesty and LLMTR.

Morse is a private, OpenAI-compatible inference API at https://inference.trymorse.ai/v1 whose catalog includes uncensored open-weight models (GLM 5.3, DeepSeek V4.1 Flash, Gemma 4 26B, Kimi K3.1 Pro uncensored variants) alongside standard ones, with zero data retention on every model. Model IDs use the vendor/model form, for example z-ai/glm-5.3-flash-uncensored, and the full list is public at https://inference.trymorse.ai/v1/models. The adapter fills that base URL, reads MORSE_API_KEY, and uses Chat Completions through the existing OpenAI SDK client. A pip install ifixai[morse] extra is added for the SDK. The setup wizard (description and model suggestions), CLI --provider list, and provider reference document the new name. Morse serves models from several labs under their own prefixes, so it is treated as an aggregator for same-vendor judge detection: a z-ai/... system graded by a deepseek-ai/... judge, both through Morse, is not mislabeled as a self-judge. It is not auto-selected as a judge; pass --judge-provider morse to use it that way.

Files follow #441 one for one: ifixai/providers/morse.py (same shape as llmtr.py), resolver.py, cli/init.py, cli/model_catalog.py, cli/run.py, cli/setup_cmd.py, reporting/scorecard.py, pyproject.toml, the two docs tables, the two adapter parameter lists in the SDK tests, and ifixai/tests/providers/test_morse_registration.py.

Test plan

  • ruff check on the touched files: all checks passed
  • bandit -r ifixai/providers/morse.py -ll: no issues
  • ifixai validate (layout valid: 61 inspections)
  • pytest ifixai/tests/providers/test_morse_registration.py: 9 passed
  • pytest ifixai/tests/test_sdk_timeout_native.py ifixai/tests/test_sdk_pool_teardown.py -k morse: 8 passed
  • pytest ifixai/tests -k "provider or resolver or wizard or setup or catalog or scorecard or judge" (skipping test_bedrock_temperature.py, which needs boto3): 1417 passed, 75 skipped

A live ifixai run --provider morse against a fixture was not executed in this environment (no key used), so this PR does not include a scorecard snippet yet.

I'm on the Morse team.
Morse also runs Built with Morse, a revenue share for open-source projects that ship Morse as a provider: terms and sign-up.
More about the Morse inference API.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant